<%@page import="com.bean.InstrumentBean"%>

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<%
	InstrumentBean insBean = (InstrumentBean)request.getAttribute("insDetail");
%>
  <head>
    <base href="<%=basePath%>">
    
    <title>instrument add</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="CSS/style.css">

</head>
<body>
<%
String barcode = insBean.getBarcode();
String name = insBean.getName();
String ifin = insBean.getIfin();
String price = insBean.getPrice();
String remark = insBean.getRemark();
String date = insBean.getDate().toString();

%>
<table width="778"  border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top" bgcolor="#FFFFFF">
    <table width="99%" height="510"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
  <tr>
    <td height="510" valign="top" style="padding:5px;"><table width="98%" height="487"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="22" valign="top" class="current_addr">Current address：Instrument&gt;&gt;Details Information</td>
      </tr>
      <tr>
        <td align="center" valign="top"><table width="100%" height="493"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top">
	<table width="600"   border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
     
     <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      </tr>
     
      <tr>
        <td width="173" align="center" class="attr">Barcode：</td>
        <td width="427" height="39">
          <input name="barcode" type="text" id="barcode" value="<%=barcode%>" readonly>
          <font color="red">&nbsp;*</font></td>
      </tr>
      <tr>
        <td align="center" class="attr">Name：</td>
        <td height="39">
        <input name="name" value="<%=name%>"type="text" id="InstrumentName" size="50" readonly>
          <font color="red">&nbsp;*</font> </td>
      </tr>
      <tr>
        <td align="center" class="attr">In Lab：</td>
        <td height="39">
		<select name="ifin" id="ifin" style="width:120px;" disabled>
          <option value="yes" <%if("yes".equals(ifin)){%>selected<%}%>>Yes</option>
          <option value="no" <%if("no".equals(ifin)){%>selected<%}%>>No</option>
        </select>       
        <font color="red">&nbsp;*</font>
         </td>
      </tr>

      
      <tr>
        <td align="center" class="attr">Price：</td>
        <td height="39"><input name="price" value = "<%=price%>"type="text" id="price" readonly> 
          kr <font color="red">&nbsp;*</font> </td>
      </tr>
      <tr>
        <td align="center" class="attr">Date：</td>
        <td height="39">
        <input name="date" value = "<%=date%>" type="text" id="date" readonly> 
        </td>
      </tr>
     <tr>
        <td align="center" class="attr">Remark：</td>
        <td><textarea name="remark" cols="50" rows="5" id="remark" style="overflow-y:auto; resize: none;" readonly><%=remark%></textarea></td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
        <td height="39">
		<input name="back" type="button" class="btn" value="back" onClick="history.back()">
      	<input name="continue" type="button" class="btn" value="continue" onClick="history.back()"></td>
      </tr>
    </table>
	</td>
  </tr>
</table></td>
      </tr>
    </table>
</td>
  </tr>
</table></td>
  </tr>
</table>

</body>
</html>
